package com.ashes.oppo.po;

import com.ashes.oppo.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)//属性为NULL 不序列化
public class SysAshesMenuPO extends BaseEntity implements Serializable {

    @ApiModelProperty(value = "菜单ID")
    private Long menuId;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "父菜单ID")
    private Long parentId;

    @ApiModelProperty(value = "显示顺序")
    private Long orderNum;

    @ApiModelProperty(value = "菜单类型  M  C  F")
    private String menuType;

    @ApiModelProperty(value = "菜单状态 0 1")
    private String visible;

    @ApiModelProperty(value = "权限标识")
    private String perms;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "连接地址")
    private String url;

    @ApiModelProperty(value = "下级列表")
    private List<SysAshesMenuPO> children;

}